﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Duckt : Animal,Iswimable
    {
        public void duck() 
        {
            Console.WriteLine("我天生会游泳");
        }
        public override void Eat()
        {
            Console.WriteLine("我爱吃虫子");
        }
        public void swim()
        {
            Console.WriteLine("我会鸭泳");
        }
    }
}
